package com.jari.lg.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class CheckpointDayExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CheckpointDayExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCheckpointcodeIsNull() {
            addCriterion("checkPointCode is null");
            return (Criteria) this;
        }

        public Criteria andCheckpointcodeIsNotNull() {
            addCriterion("checkPointCode is not null");
            return (Criteria) this;
        }

        public Criteria andCheckpointcodeEqualTo(String value) {
            addCriterion("checkPointCode =", value, "checkpointcode");
            return (Criteria) this;
        }

        public Criteria andCheckpointcodeNotEqualTo(String value) {
            addCriterion("checkPointCode <>", value, "checkpointcode");
            return (Criteria) this;
        }

        public Criteria andCheckpointcodeGreaterThan(String value) {
            addCriterion("checkPointCode >", value, "checkpointcode");
            return (Criteria) this;
        }

        public Criteria andCheckpointcodeGreaterThanOrEqualTo(String value) {
            addCriterion("checkPointCode >=", value, "checkpointcode");
            return (Criteria) this;
        }

        public Criteria andCheckpointcodeLessThan(String value) {
            addCriterion("checkPointCode <", value, "checkpointcode");
            return (Criteria) this;
        }

        public Criteria andCheckpointcodeLessThanOrEqualTo(String value) {
            addCriterion("checkPointCode <=", value, "checkpointcode");
            return (Criteria) this;
        }

        public Criteria andCheckpointcodeLike(String value) {
            addCriterion("checkPointCode like", value, "checkpointcode");
            return (Criteria) this;
        }

        public Criteria andCheckpointcodeNotLike(String value) {
            addCriterion("checkPointCode not like", value, "checkpointcode");
            return (Criteria) this;
        }

        public Criteria andCheckpointcodeIn(List<String> values) {
            addCriterion("checkPointCode in", values, "checkpointcode");
            return (Criteria) this;
        }

        public Criteria andCheckpointcodeNotIn(List<String> values) {
            addCriterion("checkPointCode not in", values, "checkpointcode");
            return (Criteria) this;
        }

        public Criteria andCheckpointcodeBetween(String value1, String value2) {
            addCriterion("checkPointCode between", value1, value2, "checkpointcode");
            return (Criteria) this;
        }

        public Criteria andCheckpointcodeNotBetween(String value1, String value2) {
            addCriterion("checkPointCode not between", value1, value2, "checkpointcode");
            return (Criteria) this;
        }

        public Criteria andCheckpointnameIsNull() {
            addCriterion("checkPointName is null");
            return (Criteria) this;
        }

        public Criteria andCheckpointnameIsNotNull() {
            addCriterion("checkPointName is not null");
            return (Criteria) this;
        }

        public Criteria andCheckpointnameEqualTo(String value) {
            addCriterion("checkPointName =", value, "checkpointname");
            return (Criteria) this;
        }

        public Criteria andCheckpointnameNotEqualTo(String value) {
            addCriterion("checkPointName <>", value, "checkpointname");
            return (Criteria) this;
        }

        public Criteria andCheckpointnameGreaterThan(String value) {
            addCriterion("checkPointName >", value, "checkpointname");
            return (Criteria) this;
        }

        public Criteria andCheckpointnameGreaterThanOrEqualTo(String value) {
            addCriterion("checkPointName >=", value, "checkpointname");
            return (Criteria) this;
        }

        public Criteria andCheckpointnameLessThan(String value) {
            addCriterion("checkPointName <", value, "checkpointname");
            return (Criteria) this;
        }

        public Criteria andCheckpointnameLessThanOrEqualTo(String value) {
            addCriterion("checkPointName <=", value, "checkpointname");
            return (Criteria) this;
        }

        public Criteria andCheckpointnameLike(String value) {
            addCriterion("checkPointName like", value, "checkpointname");
            return (Criteria) this;
        }

        public Criteria andCheckpointnameNotLike(String value) {
            addCriterion("checkPointName not like", value, "checkpointname");
            return (Criteria) this;
        }

        public Criteria andCheckpointnameIn(List<String> values) {
            addCriterion("checkPointName in", values, "checkpointname");
            return (Criteria) this;
        }

        public Criteria andCheckpointnameNotIn(List<String> values) {
            addCriterion("checkPointName not in", values, "checkpointname");
            return (Criteria) this;
        }

        public Criteria andCheckpointnameBetween(String value1, String value2) {
            addCriterion("checkPointName between", value1, value2, "checkpointname");
            return (Criteria) this;
        }

        public Criteria andCheckpointnameNotBetween(String value1, String value2) {
            addCriterion("checkPointName not between", value1, value2, "checkpointname");
            return (Criteria) this;
        }

        public Criteria andPassingcarnumIsNull() {
            addCriterion("passingCarNum is null");
            return (Criteria) this;
        }

        public Criteria andPassingcarnumIsNotNull() {
            addCriterion("passingCarNum is not null");
            return (Criteria) this;
        }

        public Criteria andPassingcarnumEqualTo(Integer value) {
            addCriterion("passingCarNum =", value, "passingcarnum");
            return (Criteria) this;
        }

        public Criteria andPassingcarnumNotEqualTo(Integer value) {
            addCriterion("passingCarNum <>", value, "passingcarnum");
            return (Criteria) this;
        }

        public Criteria andPassingcarnumGreaterThan(Integer value) {
            addCriterion("passingCarNum >", value, "passingcarnum");
            return (Criteria) this;
        }

        public Criteria andPassingcarnumGreaterThanOrEqualTo(Integer value) {
            addCriterion("passingCarNum >=", value, "passingcarnum");
            return (Criteria) this;
        }

        public Criteria andPassingcarnumLessThan(Integer value) {
            addCriterion("passingCarNum <", value, "passingcarnum");
            return (Criteria) this;
        }

        public Criteria andPassingcarnumLessThanOrEqualTo(Integer value) {
            addCriterion("passingCarNum <=", value, "passingcarnum");
            return (Criteria) this;
        }

        public Criteria andPassingcarnumIn(List<Integer> values) {
            addCriterion("passingCarNum in", values, "passingcarnum");
            return (Criteria) this;
        }

        public Criteria andPassingcarnumNotIn(List<Integer> values) {
            addCriterion("passingCarNum not in", values, "passingcarnum");
            return (Criteria) this;
        }

        public Criteria andPassingcarnumBetween(Integer value1, Integer value2) {
            addCriterion("passingCarNum between", value1, value2, "passingcarnum");
            return (Criteria) this;
        }

        public Criteria andPassingcarnumNotBetween(Integer value1, Integer value2) {
            addCriterion("passingCarNum not between", value1, value2, "passingcarnum");
            return (Criteria) this;
        }

        public Criteria andDistrictpassingcarnumIsNull() {
            addCriterion("districtPassingCarNum is null");
            return (Criteria) this;
        }

        public Criteria andDistrictpassingcarnumIsNotNull() {
            addCriterion("districtPassingCarNum is not null");
            return (Criteria) this;
        }

        public Criteria andDistrictpassingcarnumEqualTo(Integer value) {
            addCriterion("districtPassingCarNum =", value, "districtpassingcarnum");
            return (Criteria) this;
        }

        public Criteria andDistrictpassingcarnumNotEqualTo(Integer value) {
            addCriterion("districtPassingCarNum <>", value, "districtpassingcarnum");
            return (Criteria) this;
        }

        public Criteria andDistrictpassingcarnumGreaterThan(Integer value) {
            addCriterion("districtPassingCarNum >", value, "districtpassingcarnum");
            return (Criteria) this;
        }

        public Criteria andDistrictpassingcarnumGreaterThanOrEqualTo(Integer value) {
            addCriterion("districtPassingCarNum >=", value, "districtpassingcarnum");
            return (Criteria) this;
        }

        public Criteria andDistrictpassingcarnumLessThan(Integer value) {
            addCriterion("districtPassingCarNum <", value, "districtpassingcarnum");
            return (Criteria) this;
        }

        public Criteria andDistrictpassingcarnumLessThanOrEqualTo(Integer value) {
            addCriterion("districtPassingCarNum <=", value, "districtpassingcarnum");
            return (Criteria) this;
        }

        public Criteria andDistrictpassingcarnumIn(List<Integer> values) {
            addCriterion("districtPassingCarNum in", values, "districtpassingcarnum");
            return (Criteria) this;
        }

        public Criteria andDistrictpassingcarnumNotIn(List<Integer> values) {
            addCriterion("districtPassingCarNum not in", values, "districtpassingcarnum");
            return (Criteria) this;
        }

        public Criteria andDistrictpassingcarnumBetween(Integer value1, Integer value2) {
            addCriterion("districtPassingCarNum between", value1, value2, "districtpassingcarnum");
            return (Criteria) this;
        }

        public Criteria andDistrictpassingcarnumNotBetween(Integer value1, Integer value2) {
            addCriterion("districtPassingCarNum not between", value1, value2, "districtpassingcarnum");
            return (Criteria) this;
        }

        public Criteria andDateIsNull() {
            addCriterion("date is null");
            return (Criteria) this;
        }

        public Criteria andDateIsNotNull() {
            addCriterion("date is not null");
            return (Criteria) this;
        }

        public Criteria andDateEqualTo(Date value) {
            addCriterionForJDBCDate("date =", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("date <>", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateGreaterThan(Date value) {
            addCriterionForJDBCDate("date >", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("date >=", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateLessThan(Date value) {
            addCriterionForJDBCDate("date <", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("date <=", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateIn(List<Date> values) {
            addCriterionForJDBCDate("date in", values, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("date not in", values, "date");
            return (Criteria) this;
        }

        public Criteria andDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("date between", value1, value2, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("date not between", value1, value2, "date");
            return (Criteria) this;
        }

        public Criteria andLocalcarnumIsNull() {
            addCriterion("localCarNum is null");
            return (Criteria) this;
        }

        public Criteria andLocalcarnumIsNotNull() {
            addCriterion("localCarNum is not null");
            return (Criteria) this;
        }

        public Criteria andLocalcarnumEqualTo(Integer value) {
            addCriterion("localCarNum =", value, "localcarnum");
            return (Criteria) this;
        }

        public Criteria andLocalcarnumNotEqualTo(Integer value) {
            addCriterion("localCarNum <>", value, "localcarnum");
            return (Criteria) this;
        }

        public Criteria andLocalcarnumGreaterThan(Integer value) {
            addCriterion("localCarNum >", value, "localcarnum");
            return (Criteria) this;
        }

        public Criteria andLocalcarnumGreaterThanOrEqualTo(Integer value) {
            addCriterion("localCarNum >=", value, "localcarnum");
            return (Criteria) this;
        }

        public Criteria andLocalcarnumLessThan(Integer value) {
            addCriterion("localCarNum <", value, "localcarnum");
            return (Criteria) this;
        }

        public Criteria andLocalcarnumLessThanOrEqualTo(Integer value) {
            addCriterion("localCarNum <=", value, "localcarnum");
            return (Criteria) this;
        }

        public Criteria andLocalcarnumIn(List<Integer> values) {
            addCriterion("localCarNum in", values, "localcarnum");
            return (Criteria) this;
        }

        public Criteria andLocalcarnumNotIn(List<Integer> values) {
            addCriterion("localCarNum not in", values, "localcarnum");
            return (Criteria) this;
        }

        public Criteria andLocalcarnumBetween(Integer value1, Integer value2) {
            addCriterion("localCarNum between", value1, value2, "localcarnum");
            return (Criteria) this;
        }

        public Criteria andLocalcarnumNotBetween(Integer value1, Integer value2) {
            addCriterion("localCarNum not between", value1, value2, "localcarnum");
            return (Criteria) this;
        }

        public Criteria andNolocalcarnumIsNull() {
            addCriterion("noLocalCarNum is null");
            return (Criteria) this;
        }

        public Criteria andNolocalcarnumIsNotNull() {
            addCriterion("noLocalCarNum is not null");
            return (Criteria) this;
        }

        public Criteria andNolocalcarnumEqualTo(Integer value) {
            addCriterion("noLocalCarNum =", value, "nolocalcarnum");
            return (Criteria) this;
        }

        public Criteria andNolocalcarnumNotEqualTo(Integer value) {
            addCriterion("noLocalCarNum <>", value, "nolocalcarnum");
            return (Criteria) this;
        }

        public Criteria andNolocalcarnumGreaterThan(Integer value) {
            addCriterion("noLocalCarNum >", value, "nolocalcarnum");
            return (Criteria) this;
        }

        public Criteria andNolocalcarnumGreaterThanOrEqualTo(Integer value) {
            addCriterion("noLocalCarNum >=", value, "nolocalcarnum");
            return (Criteria) this;
        }

        public Criteria andNolocalcarnumLessThan(Integer value) {
            addCriterion("noLocalCarNum <", value, "nolocalcarnum");
            return (Criteria) this;
        }

        public Criteria andNolocalcarnumLessThanOrEqualTo(Integer value) {
            addCriterion("noLocalCarNum <=", value, "nolocalcarnum");
            return (Criteria) this;
        }

        public Criteria andNolocalcarnumIn(List<Integer> values) {
            addCriterion("noLocalCarNum in", values, "nolocalcarnum");
            return (Criteria) this;
        }

        public Criteria andNolocalcarnumNotIn(List<Integer> values) {
            addCriterion("noLocalCarNum not in", values, "nolocalcarnum");
            return (Criteria) this;
        }

        public Criteria andNolocalcarnumBetween(Integer value1, Integer value2) {
            addCriterion("noLocalCarNum between", value1, value2, "nolocalcarnum");
            return (Criteria) this;
        }

        public Criteria andNolocalcarnumNotBetween(Integer value1, Integer value2) {
            addCriterion("noLocalCarNum not between", value1, value2, "nolocalcarnum");
            return (Criteria) this;
        }

        public Criteria andSmallcarnumIsNull() {
            addCriterion("smallCarNum is null");
            return (Criteria) this;
        }

        public Criteria andSmallcarnumIsNotNull() {
            addCriterion("smallCarNum is not null");
            return (Criteria) this;
        }

        public Criteria andSmallcarnumEqualTo(Integer value) {
            addCriterion("smallCarNum =", value, "smallcarnum");
            return (Criteria) this;
        }

        public Criteria andSmallcarnumNotEqualTo(Integer value) {
            addCriterion("smallCarNum <>", value, "smallcarnum");
            return (Criteria) this;
        }

        public Criteria andSmallcarnumGreaterThan(Integer value) {
            addCriterion("smallCarNum >", value, "smallcarnum");
            return (Criteria) this;
        }

        public Criteria andSmallcarnumGreaterThanOrEqualTo(Integer value) {
            addCriterion("smallCarNum >=", value, "smallcarnum");
            return (Criteria) this;
        }

        public Criteria andSmallcarnumLessThan(Integer value) {
            addCriterion("smallCarNum <", value, "smallcarnum");
            return (Criteria) this;
        }

        public Criteria andSmallcarnumLessThanOrEqualTo(Integer value) {
            addCriterion("smallCarNum <=", value, "smallcarnum");
            return (Criteria) this;
        }

        public Criteria andSmallcarnumIn(List<Integer> values) {
            addCriterion("smallCarNum in", values, "smallcarnum");
            return (Criteria) this;
        }

        public Criteria andSmallcarnumNotIn(List<Integer> values) {
            addCriterion("smallCarNum not in", values, "smallcarnum");
            return (Criteria) this;
        }

        public Criteria andSmallcarnumBetween(Integer value1, Integer value2) {
            addCriterion("smallCarNum between", value1, value2, "smallcarnum");
            return (Criteria) this;
        }

        public Criteria andSmallcarnumNotBetween(Integer value1, Integer value2) {
            addCriterion("smallCarNum not between", value1, value2, "smallcarnum");
            return (Criteria) this;
        }

        public Criteria andBigcarnumIsNull() {
            addCriterion("bigCarNum is null");
            return (Criteria) this;
        }

        public Criteria andBigcarnumIsNotNull() {
            addCriterion("bigCarNum is not null");
            return (Criteria) this;
        }

        public Criteria andBigcarnumEqualTo(Integer value) {
            addCriterion("bigCarNum =", value, "bigcarnum");
            return (Criteria) this;
        }

        public Criteria andBigcarnumNotEqualTo(Integer value) {
            addCriterion("bigCarNum <>", value, "bigcarnum");
            return (Criteria) this;
        }

        public Criteria andBigcarnumGreaterThan(Integer value) {
            addCriterion("bigCarNum >", value, "bigcarnum");
            return (Criteria) this;
        }

        public Criteria andBigcarnumGreaterThanOrEqualTo(Integer value) {
            addCriterion("bigCarNum >=", value, "bigcarnum");
            return (Criteria) this;
        }

        public Criteria andBigcarnumLessThan(Integer value) {
            addCriterion("bigCarNum <", value, "bigcarnum");
            return (Criteria) this;
        }

        public Criteria andBigcarnumLessThanOrEqualTo(Integer value) {
            addCriterion("bigCarNum <=", value, "bigcarnum");
            return (Criteria) this;
        }

        public Criteria andBigcarnumIn(List<Integer> values) {
            addCriterion("bigCarNum in", values, "bigcarnum");
            return (Criteria) this;
        }

        public Criteria andBigcarnumNotIn(List<Integer> values) {
            addCriterion("bigCarNum not in", values, "bigcarnum");
            return (Criteria) this;
        }

        public Criteria andBigcarnumBetween(Integer value1, Integer value2) {
            addCriterion("bigCarNum between", value1, value2, "bigcarnum");
            return (Criteria) this;
        }

        public Criteria andBigcarnumNotBetween(Integer value1, Integer value2) {
            addCriterion("bigCarNum not between", value1, value2, "bigcarnum");
            return (Criteria) this;
        }

        public Criteria andPetrolcarnumIsNull() {
            addCriterion("petrolCarNum is null");
            return (Criteria) this;
        }

        public Criteria andPetrolcarnumIsNotNull() {
            addCriterion("petrolCarNum is not null");
            return (Criteria) this;
        }

        public Criteria andPetrolcarnumEqualTo(Integer value) {
            addCriterion("petrolCarNum =", value, "petrolcarnum");
            return (Criteria) this;
        }

        public Criteria andPetrolcarnumNotEqualTo(Integer value) {
            addCriterion("petrolCarNum <>", value, "petrolcarnum");
            return (Criteria) this;
        }

        public Criteria andPetrolcarnumGreaterThan(Integer value) {
            addCriterion("petrolCarNum >", value, "petrolcarnum");
            return (Criteria) this;
        }

        public Criteria andPetrolcarnumGreaterThanOrEqualTo(Integer value) {
            addCriterion("petrolCarNum >=", value, "petrolcarnum");
            return (Criteria) this;
        }

        public Criteria andPetrolcarnumLessThan(Integer value) {
            addCriterion("petrolCarNum <", value, "petrolcarnum");
            return (Criteria) this;
        }

        public Criteria andPetrolcarnumLessThanOrEqualTo(Integer value) {
            addCriterion("petrolCarNum <=", value, "petrolcarnum");
            return (Criteria) this;
        }

        public Criteria andPetrolcarnumIn(List<Integer> values) {
            addCriterion("petrolCarNum in", values, "petrolcarnum");
            return (Criteria) this;
        }

        public Criteria andPetrolcarnumNotIn(List<Integer> values) {
            addCriterion("petrolCarNum not in", values, "petrolcarnum");
            return (Criteria) this;
        }

        public Criteria andPetrolcarnumBetween(Integer value1, Integer value2) {
            addCriterion("petrolCarNum between", value1, value2, "petrolcarnum");
            return (Criteria) this;
        }

        public Criteria andPetrolcarnumNotBetween(Integer value1, Integer value2) {
            addCriterion("petrolCarNum not between", value1, value2, "petrolcarnum");
            return (Criteria) this;
        }

        public Criteria andElectriccarnumIsNull() {
            addCriterion("electricCarNum is null");
            return (Criteria) this;
        }

        public Criteria andElectriccarnumIsNotNull() {
            addCriterion("electricCarNum is not null");
            return (Criteria) this;
        }

        public Criteria andElectriccarnumEqualTo(Integer value) {
            addCriterion("electricCarNum =", value, "electriccarnum");
            return (Criteria) this;
        }

        public Criteria andElectriccarnumNotEqualTo(Integer value) {
            addCriterion("electricCarNum <>", value, "electriccarnum");
            return (Criteria) this;
        }

        public Criteria andElectriccarnumGreaterThan(Integer value) {
            addCriterion("electricCarNum >", value, "electriccarnum");
            return (Criteria) this;
        }

        public Criteria andElectriccarnumGreaterThanOrEqualTo(Integer value) {
            addCriterion("electricCarNum >=", value, "electriccarnum");
            return (Criteria) this;
        }

        public Criteria andElectriccarnumLessThan(Integer value) {
            addCriterion("electricCarNum <", value, "electriccarnum");
            return (Criteria) this;
        }

        public Criteria andElectriccarnumLessThanOrEqualTo(Integer value) {
            addCriterion("electricCarNum <=", value, "electriccarnum");
            return (Criteria) this;
        }

        public Criteria andElectriccarnumIn(List<Integer> values) {
            addCriterion("electricCarNum in", values, "electriccarnum");
            return (Criteria) this;
        }

        public Criteria andElectriccarnumNotIn(List<Integer> values) {
            addCriterion("electricCarNum not in", values, "electriccarnum");
            return (Criteria) this;
        }

        public Criteria andElectriccarnumBetween(Integer value1, Integer value2) {
            addCriterion("electricCarNum between", value1, value2, "electriccarnum");
            return (Criteria) this;
        }

        public Criteria andElectriccarnumNotBetween(Integer value1, Integer value2) {
            addCriterion("electricCarNum not between", value1, value2, "electriccarnum");
            return (Criteria) this;
        }

        public Criteria andNormalcarnumIsNull() {
            addCriterion("normalCarNum is null");
            return (Criteria) this;
        }

        public Criteria andNormalcarnumIsNotNull() {
            addCriterion("normalCarNum is not null");
            return (Criteria) this;
        }

        public Criteria andNormalcarnumEqualTo(Integer value) {
            addCriterion("normalCarNum =", value, "normalcarnum");
            return (Criteria) this;
        }

        public Criteria andNormalcarnumNotEqualTo(Integer value) {
            addCriterion("normalCarNum <>", value, "normalcarnum");
            return (Criteria) this;
        }

        public Criteria andNormalcarnumGreaterThan(Integer value) {
            addCriterion("normalCarNum >", value, "normalcarnum");
            return (Criteria) this;
        }

        public Criteria andNormalcarnumGreaterThanOrEqualTo(Integer value) {
            addCriterion("normalCarNum >=", value, "normalcarnum");
            return (Criteria) this;
        }

        public Criteria andNormalcarnumLessThan(Integer value) {
            addCriterion("normalCarNum <", value, "normalcarnum");
            return (Criteria) this;
        }

        public Criteria andNormalcarnumLessThanOrEqualTo(Integer value) {
            addCriterion("normalCarNum <=", value, "normalcarnum");
            return (Criteria) this;
        }

        public Criteria andNormalcarnumIn(List<Integer> values) {
            addCriterion("normalCarNum in", values, "normalcarnum");
            return (Criteria) this;
        }

        public Criteria andNormalcarnumNotIn(List<Integer> values) {
            addCriterion("normalCarNum not in", values, "normalcarnum");
            return (Criteria) this;
        }

        public Criteria andNormalcarnumBetween(Integer value1, Integer value2) {
            addCriterion("normalCarNum between", value1, value2, "normalcarnum");
            return (Criteria) this;
        }

        public Criteria andNormalcarnumNotBetween(Integer value1, Integer value2) {
            addCriterion("normalCarNum not between", value1, value2, "normalcarnum");
            return (Criteria) this;
        }

        public Criteria andSpecialcarnumIsNull() {
            addCriterion("specialCarNum is null");
            return (Criteria) this;
        }

        public Criteria andSpecialcarnumIsNotNull() {
            addCriterion("specialCarNum is not null");
            return (Criteria) this;
        }

        public Criteria andSpecialcarnumEqualTo(Integer value) {
            addCriterion("specialCarNum =", value, "specialcarnum");
            return (Criteria) this;
        }

        public Criteria andSpecialcarnumNotEqualTo(Integer value) {
            addCriterion("specialCarNum <>", value, "specialcarnum");
            return (Criteria) this;
        }

        public Criteria andSpecialcarnumGreaterThan(Integer value) {
            addCriterion("specialCarNum >", value, "specialcarnum");
            return (Criteria) this;
        }

        public Criteria andSpecialcarnumGreaterThanOrEqualTo(Integer value) {
            addCriterion("specialCarNum >=", value, "specialcarnum");
            return (Criteria) this;
        }

        public Criteria andSpecialcarnumLessThan(Integer value) {
            addCriterion("specialCarNum <", value, "specialcarnum");
            return (Criteria) this;
        }

        public Criteria andSpecialcarnumLessThanOrEqualTo(Integer value) {
            addCriterion("specialCarNum <=", value, "specialcarnum");
            return (Criteria) this;
        }

        public Criteria andSpecialcarnumIn(List<Integer> values) {
            addCriterion("specialCarNum in", values, "specialcarnum");
            return (Criteria) this;
        }

        public Criteria andSpecialcarnumNotIn(List<Integer> values) {
            addCriterion("specialCarNum not in", values, "specialcarnum");
            return (Criteria) this;
        }

        public Criteria andSpecialcarnumBetween(Integer value1, Integer value2) {
            addCriterion("specialCarNum between", value1, value2, "specialcarnum");
            return (Criteria) this;
        }

        public Criteria andSpecialcarnumNotBetween(Integer value1, Integer value2) {
            addCriterion("specialCarNum not between", value1, value2, "specialcarnum");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNull() {
            addCriterion("creator is null");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNotNull() {
            addCriterion("creator is not null");
            return (Criteria) this;
        }

        public Criteria andCreatorEqualTo(String value) {
            addCriterion("creator =", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotEqualTo(String value) {
            addCriterion("creator <>", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThan(String value) {
            addCriterion("creator >", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThanOrEqualTo(String value) {
            addCriterion("creator >=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThan(String value) {
            addCriterion("creator <", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThanOrEqualTo(String value) {
            addCriterion("creator <=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLike(String value) {
            addCriterion("creator like", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotLike(String value) {
            addCriterion("creator not like", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorIn(List<String> values) {
            addCriterion("creator in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotIn(List<String> values) {
            addCriterion("creator not in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorBetween(String value1, String value2) {
            addCriterion("creator between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotBetween(String value1, String value2) {
            addCriterion("creator not between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andGmtcreateIsNull() {
            addCriterion("gmtCreate is null");
            return (Criteria) this;
        }

        public Criteria andGmtcreateIsNotNull() {
            addCriterion("gmtCreate is not null");
            return (Criteria) this;
        }

        public Criteria andGmtcreateEqualTo(Date value) {
            addCriterion("gmtCreate =", value, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateNotEqualTo(Date value) {
            addCriterion("gmtCreate <>", value, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateGreaterThan(Date value) {
            addCriterion("gmtCreate >", value, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateGreaterThanOrEqualTo(Date value) {
            addCriterion("gmtCreate >=", value, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateLessThan(Date value) {
            addCriterion("gmtCreate <", value, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateLessThanOrEqualTo(Date value) {
            addCriterion("gmtCreate <=", value, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateIn(List<Date> values) {
            addCriterion("gmtCreate in", values, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateNotIn(List<Date> values) {
            addCriterion("gmtCreate not in", values, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateBetween(Date value1, Date value2) {
            addCriterion("gmtCreate between", value1, value2, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andGmtcreateNotBetween(Date value1, Date value2) {
            addCriterion("gmtCreate not between", value1, value2, "gmtcreate");
            return (Criteria) this;
        }

        public Criteria andModifierIsNull() {
            addCriterion("modifier is null");
            return (Criteria) this;
        }

        public Criteria andModifierIsNotNull() {
            addCriterion("modifier is not null");
            return (Criteria) this;
        }

        public Criteria andModifierEqualTo(String value) {
            addCriterion("modifier =", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotEqualTo(String value) {
            addCriterion("modifier <>", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierGreaterThan(String value) {
            addCriterion("modifier >", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierGreaterThanOrEqualTo(String value) {
            addCriterion("modifier >=", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierLessThan(String value) {
            addCriterion("modifier <", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierLessThanOrEqualTo(String value) {
            addCriterion("modifier <=", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierLike(String value) {
            addCriterion("modifier like", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotLike(String value) {
            addCriterion("modifier not like", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierIn(List<String> values) {
            addCriterion("modifier in", values, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotIn(List<String> values) {
            addCriterion("modifier not in", values, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierBetween(String value1, String value2) {
            addCriterion("modifier between", value1, value2, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotBetween(String value1, String value2) {
            addCriterion("modifier not between", value1, value2, "modifier");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedIsNull() {
            addCriterion("gmtModified is null");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedIsNotNull() {
            addCriterion("gmtModified is not null");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedEqualTo(Date value) {
            addCriterion("gmtModified =", value, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedNotEqualTo(Date value) {
            addCriterion("gmtModified <>", value, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedGreaterThan(Date value) {
            addCriterion("gmtModified >", value, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedGreaterThanOrEqualTo(Date value) {
            addCriterion("gmtModified >=", value, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedLessThan(Date value) {
            addCriterion("gmtModified <", value, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedLessThanOrEqualTo(Date value) {
            addCriterion("gmtModified <=", value, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedIn(List<Date> values) {
            addCriterion("gmtModified in", values, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedNotIn(List<Date> values) {
            addCriterion("gmtModified not in", values, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedBetween(Date value1, Date value2) {
            addCriterion("gmtModified between", value1, value2, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andGmtmodifiedNotBetween(Date value1, Date value2) {
            addCriterion("gmtModified not between", value1, value2, "gmtmodified");
            return (Criteria) this;
        }

        public Criteria andDatastatusIsNull() {
            addCriterion("dataStatus is null");
            return (Criteria) this;
        }

        public Criteria andDatastatusIsNotNull() {
            addCriterion("dataStatus is not null");
            return (Criteria) this;
        }

        public Criteria andDatastatusEqualTo(String value) {
            addCriterion("dataStatus =", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusNotEqualTo(String value) {
            addCriterion("dataStatus <>", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusGreaterThan(String value) {
            addCriterion("dataStatus >", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusGreaterThanOrEqualTo(String value) {
            addCriterion("dataStatus >=", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusLessThan(String value) {
            addCriterion("dataStatus <", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusLessThanOrEqualTo(String value) {
            addCriterion("dataStatus <=", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusLike(String value) {
            addCriterion("dataStatus like", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusNotLike(String value) {
            addCriterion("dataStatus not like", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusIn(List<String> values) {
            addCriterion("dataStatus in", values, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusNotIn(List<String> values) {
            addCriterion("dataStatus not in", values, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusBetween(String value1, String value2) {
            addCriterion("dataStatus between", value1, value2, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusNotBetween(String value1, String value2) {
            addCriterion("dataStatus not between", value1, value2, "datastatus");
            return (Criteria) this;
        }

        public Criteria andVersionIsNull() {
            addCriterion("version is null");
            return (Criteria) this;
        }

        public Criteria andVersionIsNotNull() {
            addCriterion("version is not null");
            return (Criteria) this;
        }

        public Criteria andVersionEqualTo(Long value) {
            addCriterion("version =", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotEqualTo(Long value) {
            addCriterion("version <>", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThan(Long value) {
            addCriterion("version >", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThanOrEqualTo(Long value) {
            addCriterion("version >=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThan(Long value) {
            addCriterion("version <", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThanOrEqualTo(Long value) {
            addCriterion("version <=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionIn(List<Long> values) {
            addCriterion("version in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotIn(List<Long> values) {
            addCriterion("version not in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionBetween(Long value1, Long value2) {
            addCriterion("version between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotBetween(Long value1, Long value2) {
            addCriterion("version not between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}